package cn.net.msg.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import cn.net.msg.dao.TbFocusDao;
import cn.net.msg.model.TbFocus;
import cn.net.msg.service.base.DaoSupport;
import cn.net.msg.service.base.Order;

@Component("tbFocusDao")
public class TbFocusDaoImpl extends DaoSupport implements TbFocusDao {

    @Override
    public List<TbFocus> getTop5Focus(int firstIndex, int maxResult,
            Order order, String propertyName) {
        // TODO Auto-generated method stub
        return super.paging(TbFocus.class, firstIndex, maxResult, null, order, propertyName);
    }

}
